<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
  </head>
  <body>
    <div id="app">{{msg}}</div>
  </body>
  <script type="text/javascript">
    let vdom = new Vue({
      el: '#app',
      data: {
        msg: '测试',
        test: {
          name2: 'hi',
        },
        test2: {
          name2: 'hi',
        },
        arr: [1, 2, 3],
      },
    });
    console.log(vdom);
    vdom.$data.msg = '更改';
  </script>
</html>
